package com.hsgene.user.domain;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:
 * @projectName: hdas-geneshop-server
 * @package: com.hsgene.user.domain
 * @author: maodi
 * @createDate: 2018/11/8 9:19
 * @version: 1.0
 * Copyright: Copyright (c) 2018
 */
public class GeneticTestingUserAddress implements Serializable {
    private static final long serialVersionUID = 5301657703605736199L;

    /**
     * 逻辑主键id
     */
    private String id;

    /**
     * 地服对应的用户id
     */
    private String userId;

    /**
     * 地服人员姓名
     */
    private String groundServantName;

    /**
     * 地服人员的电话号码，冗余字段
     */
    private String groundServantPhone;

    /**
     * 地服大区名称
     */
    private String groundServantTerritory;

    /**
     * 地服省级名称
     */
    private String groundServantProvince;

    /**
     * 收货地址省级名称
     */
    private String province;

    /**
     * 收货地址市级名称
     */
    private String city;

    /**
     * 收货地址区县级名称
     */
    private String district;

    /**
     * 具体收货的地址
     */
    private String address;

    /**
     * 收货地址名称全称
     */
    private String areaName;

    /**
     * 地区ID（区县级id）
     */
    private String areaId;

    /**
     * 收件人
     */
    private String consignee;

    /**
     * 收件人的电话号码
     */
    private String consigneePhone;

    /**
     * 邮政编码
     */
    private String zipCode;

    /**
     * 是否为默认地址 0-代表不是默认地址  1-代表默认地址
     */
    private Integer isDefaultAddress;

    /**
     * 创建时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date createDateTime;

    /**
     * 修改时间
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date updateDateTime;

    /**
     * 业务数据逻辑删除 0-代表未删除   1-代表删除
     */
    private Integer deleteFlag;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 地址类型（0-自己所在地址， 1-收货地址）
     */
    private Integer addressType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGroundServantPhone() {
        return groundServantPhone;
    }

    public void setGroundServantPhone(String groundServantPhone) {
        this.groundServantPhone = groundServantPhone;
    }

    public String getGroundServantTerritory() {
        return groundServantTerritory;
    }

    public void setGroundServantTerritory(String groundServantTerritory) {
        this.groundServantTerritory = groundServantTerritory;
    }

    public String getGroundServantProvince() {
        return groundServantProvince;
    }

    public void setGroundServantProvince(String groundServantProvince) {
        this.groundServantProvince = groundServantProvince;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getConsigneePhone() {
        return consigneePhone;
    }

    public void setConsigneePhone(String consigneePhone) {
        this.consigneePhone = consigneePhone;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public Integer getIsDefaultAddress() {
        return isDefaultAddress;
    }

    public void setIsDefaultAddress(Integer isDefaultAddress) {
        this.isDefaultAddress = isDefaultAddress;
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public Date getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(Date updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getAddressType() {
        return addressType;
    }

    public void setAddressType(Integer addressType) {
        this.addressType = addressType;
    }

    public String getGroundServantName() {
        return groundServantName;
    }

    public void setGroundServantName(String groundServantName) {
        this.groundServantName = groundServantName;
    }
}
